package com.bjb.vr.common.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName res_playlist
 */
@TableName(value = "res_playlist")
@Data
public class ResPlaylist extends BaseModel implements Serializable {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;

    /**
     * 数据ID用于同步
     */
    @TableField(value = "data_id", fill = FieldFill.INSERT)
    private Long dataId;

    /**
     * 列表名称
     */
    @TableField(value = "play_name")
    private String playName;

    /**
     * 用户id
     */
    @TableField(value = "account_id", fill = FieldFill.INSERT)
    private Long accountId;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    /**
     * 缩略图地址
     */
    @TableField(exist = false)
    private String[] paths;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}